package org.elfen.sys.facade;

import org.elfen.sys.entity.SysUser;

import com.baomidou.mybatisplus.plugins.Page;

public interface SysUserBiz {

	SysUser insertUser(SysUser sysUser);

	SysUser updaterById(SysUser entity);
	
	public boolean deleteById(Long id ,boolean flagDelete);

	SysUser selectUserById(Long id);
	
	SysUser selectUserByUserName(String username);

	SysUser selectUserByNick(String nick);

	SysUser selectUserByQQ(String qq);

	SysUser selectUserByTabao(String taobao);

	Page<SysUser> selectPage(Page<SysUser> page, SysUser user);

	void evictCache();

	SysUser selectLastRegister();

}
